API 2.0

To call API version 2.0 methods, use the host:

https://b2b-api.go.yandex.ru/integration/...

Below is a list of requests that can be sent to Yandex Taxi for the API version 2.0:

Request URL Method Description
Users
/2.0/users POST Create an employee
/2.0/users?user_id={user_id} GET Detailed employee information
/2.0/users?user_id={user_id} PUT Update employee data (PUT)
/2.0/users?user_id={user_id} PATCH Update employee data (PATCH)
/2.0/users/by_phone POST Detailed employee information by his phone number
/2.0/users/archive?user_id={user_id} POST Archive an employee
/2.0/users GET List of client's employees
/2.0/users-spending-details POST Employees' spending details
Department manager roles
/2.0/managers/create POST Create depatrment manager
/2.0/managers/update?id={manager_id} POST Update department manager role
/2.0/managers/delete?id={manager_id} POST Delete department manager role
/2.0/managers/list GET List of department managers
Reference
   Cost Centers and Limits
/2.0/cost_centers/create POST Create cost center
/2.0/cost_centers/update POST Update cost center
/2.0/cost_centers/list GET List of client's cost centers
/2.0/limits/search GET List of existing limits
/2.0/limits?limit_id={limit_id} GET Information about the limit
/2.0/limits/personal?user_id={user_id} PUT Update employee limits
   Departments
/2.0/departments/list GET List of client's departments
/2.0/departments/create POST Create a new department
/2.0/departments/update?department_id={department_id} PUT Update department data
/2.0/departments/archive?department_id={department_id} POST Remove a department
/2.0/departments/limits/taxi?department_id={department_id} GET Get the department's limit on the cost of taxi trips
/2.0/departments/limits/taxi/update?department_id={department ID} POST Update the department's limit on the cost of taxi trips
   Regions
/2.0/geo_restrictions/list GET Region list
/2.0/geo_restrictions/create POST Create a new region
/2.0/geo_restrictions/update?id={geo_id} POST Edit a region
/2.0/geo_restrictions/delete?id={geo_id} POST Remove a region
   Get information about the area
/2.0/zoneinfo GET Get information about the area
Promo codes
2.0/promocodes/orders/create POST Create a series of promo codes
2.0/promocodes/orders/cancel?order_id={order_id} POST Cancel an order of promo codes
2.0/promocodes/orders/list GET List of promo code orders
2.0/promocodes/orders/codes/list?order_id={order_id} GET List of promo codes in the order
2.0/promocodes/orders/info?order_id={order_id} GET Get information about an order of promo codes
Taxi
   Order Management
/2.0/orders/create POST Create an order
/2.0/orders/routestats POST Get information about the planned ride
/2.0/orders/progress?order_id={order_id} GET Track order
/2.0/orders/change-destinations?order_id={order_id} POST Change destinations
/2.0/orders/cancel?order_id={order_id} POST Cancel order
/2.0/orders/feedback?order_id={order_id} POST Leave feedback for the driver
   Orders Information
/2.0/orders/info?order_id={order_id} GET Order information
/2.0/orders/list GET List of client's orders
/2.0/orders/active?user_id={user_id} GET List of active orders
/2.0/orders/taxi/report POST Information about taxi orders for the report
Vehicles
/2.0/vehicles/bulk-create POST Bulk creation of vehicles
/2.0/vehicles/bulk-update POST Bulk update of vehicles
/2.0/vehicles/bulk-archive POST Bulk deletion of vehicles
/2.0/vehicles/list GET List of vehicles
Other Services
/2.0/orders/tanker GET List of operations in the Yandex Fuel service
/2.0/orders/eats/list POST List of orders in Yandex Eats service
/2.0/travels/list POST List of business trips
List of available clients
/2.0/auth/list GET List of available clients for token